package cn.cdeden.knowledge.domain.dto;

//import io.swagger.annotations.ApiModelProperty;
import cn.cdeden.common.mybatis.validator.Query;
import lombok.Data;

import java.util.List;

@Data
public class PersonalFilesTreeParam {
    /**
     * 模糊
     */
    @Query(type = Query.Type.INNER_LIKE)
//    @ApiModelProperty(value = "文件名")
    private String realName;

    @Query
////    @ApiModelProperty(value = "文件名")
    private String id;
    @Query
//    @ApiModelProperty(value = "父节点编号")
    private String parentId;

//    @ApiModelProperty(value = "1.用来判断无权限可以访问接口的")
    private String type;

//    @ApiModelProperty(value = "2.用来判断只查询那个类型的数据")
    private String nodeType;

//    @ApiModelProperty(value = "无权限可以访问的用户信息")
    private String username;


    @Query(type = Query.Type.ASC)
//    @ApiModelProperty(value = "正续排序字段")
    private List<String> sortAsc;

    @Query(type = Query.Type.DESC)
//    @ApiModelProperty(value = "倒叙排序字段")
    private List<String> sortDesc;

    private String userId;

    //    /*排序字段*/
//    private String orderBy;
//
//    /**
//     *  升序 还是 降序
//     **/
//    private Boolean ascending;
    private boolean status = true;

    /*排序字段*/
    private List<String> sort;
}
